package cn.loveq.android;

import com.waps.AppConnect;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class AboutActivity extends Activity implements OnClickListener{
	private Button feedback;
	private Button checkVersion;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.about_layout);
		feedback = (Button) findViewById(R.id.btn_user_feedback);
		//checkVersion = (Button) findViewById(R.id.btn_check_new_version);
		feedback.setOnClickListener(this);
		//checkVersion.setOnClickListener(this);
		
		
	}
	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		/*case R.id.btn_check_new_version:
			//手动检查新版本
			AppConnect.getInstance(this).checkUpdate();
			break;*/
		case R.id.btn_user_feedback:
			//用户反馈
			AppConnect.getInstance(this).showFeedback();
			break;
		default:
			break;
		}
	}
	
}
